package com.example.springboot_demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @GetMapping("/user")
    public String user() {
        return "Hello User";
    }
     @GetMapping("/user1")
    public String user1() {
        return "Hello User1";
    }
}
